package com.ydl.iec.iec104.common;

/**
 * @author ytw
 * @date 2022/10/24
 * @apiNote
 */
public class Telecontrol {

    /**
     * 68 16 18 00 20 00 CB 01 06 00 01 00 00 00 80 11 80 00 02 04 00 00 00 00
     *
     * 遥控预置命令指令
     */
    //灯光指令
    public static final byte[] YZDG_CLOSE = new byte[] {0x68, 0x16, 0x18, 0x00, 0x20, 0x00, (byte) 0xCB, 0x01, 0x06, 0x00, 0x01,0x00, 0x00 ,0x00 , (byte)0x80, 0x11,  (byte)0x80 ,0x00 ,0x02, 0x04 ,0x00, 0x00 ,0x00 ,0x00};
    public static final byte[] YZDG_OPEN = new byte[] {0x68, 0x16, 0x18, 0x00, 0x20, 0x00, (byte) 0xCB, 0x01, 0x06, 0x00, 0x01,0x00, 0x00 ,0x00 , (byte)0x80, 0x11,  (byte)0x80 ,0x00 ,0x02, 0x04 ,0x01, 0x00 ,0x00 ,0x00};

    //风机指令
    public static final byte[] YZFJ_CLOSE = new byte[] {0x68, 0x16, 0x18, 0x00, 0x20, 0x00, (byte) 0xCB, 0x01, 0x06, 0x00, 0x01,0x00, 0x00 ,0x00 , (byte)0x80, 0x10,  (byte)0x80 ,0x00 ,0x02, 0x04 ,0x00, 0x00 ,0x00 ,0x00};
    public static final byte[] YZFJ_OPEN = new byte[] {0x68, 0x16, 0x18, 0x00, 0x20, 0x00, (byte) 0xCB, 0x01, 0x06, 0x00, 0x01,0x00, 0x00 ,0x00 , (byte)0x80, 0x10,  (byte)0x80 ,0x00 ,0x02, 0x04 ,0x01, 0x00 ,0x00 ,0x00};

    //空调指令
    public static final byte[] YZKT_CLOSE = new byte[] {0x68, 0x16, 0x18, 0x00, 0x20, 0x00, (byte) 0xCB, 0x01, 0x06, 0x00, 0x01,0x00, 0x00 ,0x00 , (byte)0x80, 0x16,  (byte)0x80 ,0x00 ,0x02, 0x04 ,0x00, 0x00 ,0x00 ,0x00};
    public static final byte[] YZKT_OPEN = new byte[] {0x68, 0x16, 0x18, 0x00, 0x20, 0x00, (byte) 0xCB, 0x01, 0x06, 0x00, 0x01,0x00, 0x00 ,0x00 , (byte)0x80, 0x16,  (byte)0x80 ,0x00 ,0x02, 0x04 ,0x01, 0x00 ,0x00 ,0x00};
    /**
     * 遥控确认命令指令
     *  68 0D 1A 00 22 00 CB 00 06 00 01 00 00 00 00
     */
    public static final byte[] QR = new byte[] {0x68, 0x0D, 0x1A, 0x00, 0x22, 0x00, (byte) 0xCB, 0x00, 0x06, 0x00, 0x01,0x00, 0x00 ,0x00 , 0x00};
}
